﻿using System.Windows.Forms;

namespace HirelSeriesH
{
    public partial class WelcomeForm : Form
    {
        public WelcomeForm()
        {
            InitializeComponent();
            //使线程可以调用窗体控件
            CheckForIllegalCrossThreadCalls = false;
        }
        public void closeOrder()
        {
            if (this.IsDisposed)
                return;
            if (!this.IsDisposed)
            {
                this.Dispose();
            }
        }
        private void LoaderForm_FormClosing(object sender, FormClosingEventArgs e)
        {
            if (!this.IsDisposed)
            {
                this.Dispose(true);
            }

        }
    }
}
